package top.deepdesigner.service;

import top.deepdesigner.pojo.DtsTopic;

import java.util.List;

/**
 * Start up <br/>
 * Created with IntelliJ IDEA. <br/>
 * Project Name: shop_manage <br/>
 * Author: duanruiqing <br/>
 * DateTime: 2022/9/23 星期五 11:49:39 <br/>
 */
public interface DtsTopicService {
  Long getTopicCount();

  List<DtsTopic> getTopicList(Integer page, Integer limit, String sort, String order, String title, String subtitle);

  DtsTopic createTopic(DtsTopic topic);

  DtsTopic updateTopic(DtsTopic topic);

  void deleteTopic(DtsTopic topic);
}
